no computer?
no problem
the frequency is of 10 inputs per one output
i have separated this into 3 sequences:
first sequence:4 inputs will transform into 1 gold and 2 silver
second sequence:4 more inputs will transform into 1 gold, 1 silver and 2 quicksilver
the third sequence transforms 2 inputs into one single piece of gold
combined, out comes the solution